package com.avo.ramcache.service;

import com.avo.ramcache.config.IEntity;

import java.io.Serializable;
import java.util.Objects;

public interface EntityEnhanceService<PK extends Comparable<PK> & Serializable, T extends IEntity<PK>> extends EnhanceService<PK, T> {

    boolean hasUniqueValue(String name, Objects value);

    void replaceUniqueValue(PK id, String name, Object value);

}
